<footer class="footer clearfix">
    <ul class="control social clearfix">
        <li><a class="author btn" href="#">{{ .Site.Params.Author }}</a></li>
        {{ range $key, $val := .Site.Social }}
        {{ if $val }}
        <li>
            <a class="icon-link btn" href="{{ $val }}"><i class="icon {{ $key }}"></i></a>
        </li>
        {{ end }}
        {{ end }}
        <li>
            <a class="icon-link btn" href="{{ .Site.RSSLink }}" type="application/rss+xml" title="rss">
                <i class="rss icon"></i></a>
        </li>
    </ul>

    <ul class="control status clearfix">
        <li><a href="#" class="btn">Posts:
                {{ len (where (where .Site.Pages "Section" "posts") "Params.hidden" "!=" true) }}</a>
        </li>
        <li><a href="#" class="btn">Pages:
                {{ len (where (where .Site.Pages "Section" "page") "Params.hidden" "!=" true) }}</a></li>
        <li><a href="#" class="btn">{{ .Site.Language.Lang }}</a></li>
        <li><a href="https://gohugo.io" class="btn">Hugo, {{ hugo.Version }}</a></li>
        <li><a href="https://github.com/jacobsun/edidor" class="btn">Theme: Edidor</a></li>
        <li>
            {{if hugo.BuildDate }}
                <a href="#" class="btn">Last build: <time
                    datetime="{{ dateFormat "2006-01-02T15:04:05Z0700" hugo.BuildDate | safeHTML }}">{{ dateFormat "2006-01-02T15:04:05Z0700" hugo.BuildDate | safeHTML }}</time>
                </a>
            {{ else if .Site.IsServer }}
                <a>Build date unavailable!</a>
            {{ end}}
        </li>
    </ul>
</footer>
<div class="dialog">
    <div class="wrapper">
        <div class="clearfix"><button class="btn close-dialog">X</button></div>
        <header>
            <h1 class="title">Theme Name</h1>
        </header>
        <main>
            <div class="clearfix">
                <label for="theme-name">
                    <p>Only English Character, space, hyphen are allowed!</p>
                    <p>Valid name examples: "custom", "fantastic theme", "my-theme"</p>
                    <p>Invalid name examles: "我的主题", ":)", "123"</p>
                </label>
                <input type="text" name="theme-name" id="theme-name">
            </div>
            <div class="clearfix">
                <button class="btn export">Export</button>
            </div>

        </main>
        <footer></footer>
    </div>
</div>
